<%@ page language="java" contentType="text/html; charset=utf-8"   pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>使用Include Jsp </title>
</head>
<body>
<s:form id="form1" action="parameterListUseIncludeJsp.do" theme="simple" method="post">
<table border="0" width="100%">
	<tr>
		<td width="100%" align="center">
			使用Include Jsp
		</td>
	</tr>
</table>
<table border="1" width="100%">
	<tr>
		<td>ID</td>	
		<td>名称</td>		
		<td>类型</td>
		<td>语言</td>
	</tr>
	<s:iterator value="paraList">
		<tr>
			<td><s:property value="id"/></td>
			<td><s:property value="text"/></td>
			<td>
				<s:if test="%{type eq 'brand'}">品牌</s:if>
				<s:if test="%{type == 'color'}">产品类型</s:if>
			</td>
			<td>
				<s:if test="%{language eq 'zh_CN'}">中文</s:if>
				<s:if test="%{language == 'en_US'}">英文</s:if>
				<s:if test="%{language == 'ru_RU'}">俄文</s:if>
				<s:if test="%{language == 'pt_PT'}">葡萄牙文</s:if>
				<s:if test="%{language == 'es_ES'}">西班牙文</s:if>
			</td>
		</tr>
		</s:iterator>
		<tr>
			<td nowrap="nowrap" colspan="5" align="right" valign="top">
				<%@ include file="/common/pagetag.jsp"%>
			</td>
		</tr>
</table>
</s:form>
</body>
</html>